home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 579 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: alpha.ru.ac.za!cspw
  2. From: cspw@cs.ru.ac.za (Peter Wentworth)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: first language
  5. Date: 5 Jan 96 07:51:27 GMT
  6. Organization: Computer Science Department, Rhodes University
  7. Message-ID: <cspw.820828287@alpha>
  8. NNTP-Posting-Host: alpha.ru.ac.za
  9. NNTP-Posting-User: cspw
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. >> Is C++ a good language for a beginner to learn on?
  13.  
  14. C++ could be great, but it needs someone to guide you.  
  15. C++ has the great advantage that one can effectively hide
  16. complexity inside classes.  So, for example, your instructor
  17. can provide a great array package or a good string type,
  18. with all those attributes that ought to be present in a
  19. good teaching tool (i.e. subscript checks, ability to 
  20. return strings from functions, isolation from memory 
  21. management issues, and so on).   
  22.  
  23. So I think it would be a great idea to learn fundamental
  24. concepts in C++, but a beginner cannot hope to be able to
  25. discern what to tackle and what not to tackle at first.
  26. (And in response to another poster, yes, many people have
  27. horrendous problems with the more esoteric features in C++.
  28. And most C++ books are written by compiler-writer-types, 
  29. so they're really interested how cleverly and tightly they
  30. can convolute things, and how these esoteric features can
  31. (or cannot) interact.  So you get friends of template classes
  32. which use multiple inheritance and the envelope idiom... 
  33. You won't learn C++ as a beginner unless someone guides you 
  34. around these pitfalls at first.)
  35.  
  36. My opinion, of course...
  37.  
  38. Peter
  39. --
  40. EP Wentworth - Dept. of Comp. Sci. - Rhodes University - Grahamstown - RSA.
  41. cspw@cs.ru.ac.za        Knuth's Caveat: "While I have informally proved it,   
  42. fax: +27 461 311915                      I haven't tested it much."
  43.                 
  44.